import 'package:freedom/page/mahjong/common/mahjong_context.dart';
import 'package:freedom/page/mahjong/common/message_content.dart';
import 'package:freedom/page/mahjong/event/user_prepare_event.dart';
import 'package:freedom/page/mahjong/message/abstract_action_message.dart';

class PrepareAction extends AbstractMessageActionHandler<MahjongMessage> {
  @override
  void doMessage(MahjongMessage message) {
    MahjongContext.postUserEvent<UserPrepareEvent>(
        message.exeActionUid, UserPrepareEvent(true));
  }
}
